package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接口对象 gx_interface
 * 
 * @author ruoyi
 * @date 2023-07-11
 */
public class GxInterface extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 接口名称 */
    @Excel(name = "接口名称")
    private String interfaceName;

    /** 接口名称 */
    @Excel(name = "请求方法")
    private String requestMethod;

    /** 接口IP */
    @Excel(name = "接口IP")
    private String ip;

    /** 端口 */
    @Excel(name = "端口")
    private String port;

    /** 路由地址 */
    @Excel(name = "路由地址")
    private String route;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInterfaceName(String interfaceName) 
    {
        this.interfaceName = interfaceName;
    }

    public String getInterfaceName() 
    {
        return interfaceName;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getIp()
    {
        return ip;
    }
    public void setPort(String port) 
    {
        this.port = port;
    }

    public String getPort() 
    {
        return port;
    }
    public void setRoute(String route) 
    {
        this.route = route;
    }

    public String getRoute() 
    {
        return route;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("interfaceName", getInterfaceName())
            .append("ip", getIp())
            .append("port", getPort())
            .append("route", getRoute())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
